package com.noble.meether.chat;

/**
 * 消息常量类
 */
public class MessageConstant {

    public static final int MSG_ID_USER_ONLINE = 1010;  // 上线提醒
    public static final int MSG_ASK_FRIEND = 1011;      // 申请好友
    public static final int MSG_BE_FRIEND = 1012;      // 成为好友
    public static final int MSG_ADD_BLACK = 1013;      // 把我拉入黑名单消息
    public static final int MSG_DELE_FRIEND = 1014;      // 把我删除好友消息
    public static final int MSG_SYS_NOTICE = 1020;      // 新系统公告


    // 用户消息  2000 -
    public static final int MSG_ID_TEXT = 2001;      // 普通文本消息
    public static final int MSG_ID_PIC = 2002;       // 图片消息
    public static final int MSG_ID_URL = 2003;       // html网址文本
    public static final int MSG_ID_VOICE = 2004;     // 语音消息
    public static final int MSG_ID_VIDEO = 2005;     // 小视频消息
    public static final int MSG_ID_GIFT = 2006;      // 礼物消息

    public static final int MSG_ID_CHAT_AUDIO = 2101;     // 语音一对一消息
    public static final int MSG_ID_CHAT_VIDEO = 2102;     // 视频一对一消息
    public static final int MSG_ID_ACCEPT_AUDIO = 2103;     // 同意语音
    public static final int MSG_ID_ACCEPT_VIDEO = 2104;     // 同意视频
    public static final int MSG_ID_REJECT_AUDIO = 2105;     // 拒绝语音
    public static final int MSG_ID_REJECT_VIDEO = 2106;     // 拒绝视频
    public static final int MSG_ID_STOP_AUDIO = 2107;     // 挂断语音
    public static final int MSG_ID_STOP_VIDEO = 2108;     // 挂断视频
    public static final int MSG_USER_FREE = 2109;     // 本人空闲
    public static final int MSG_USER_BUSY = 2110;     // 本人忙碌

    // 抢聊大厅
    public static final int MSG_ROB_NOTICE = 2111;     // 男性收： 群发被抢通知，开始进入房间做连接准备
    public static final int MSG_ROB_CANCEL = 5004;     // 女性收： 男性挂断群发  自定义消息类型

    // 数据库操作标志
    public static final int ERROR = -1; //失败
    public static final int OK = 1;//成功

    public static int Great_Weight = 100;//大权重
    public static int In_Weight = 50;//中等权重
    public static int Small_Weight = 1;//小权重
}
